package com.mccken.designpattern.create_type.factory;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2024-03-11 12:36
 **/
public class Client {

	public static void main(String[] args) {
		IFactory factoryA = new FactoryA();
		IFactory factoryB = new FactoryB();
		factoryA.makeProduct().doSomething();
		factoryB.makeProduct().doSomething();
	}
}
